package com.example.demo02.po;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @description: 部门表
 * @author: Sarah
 * @modified By: Sarah
 * @date: Created in 2021/7/23 13:46
 * @version:v1.0
 */
@TableName("acl_department")
@Setter
@Getter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DepartmentPO extends BaseNOSPEntity {

    /**
     * 企业微信中对应的部门id
     */
    private Integer departId;
    /**
     * 上一级部门id
     */
    private Integer pid;
    /**
     * 部门名称
     */
    private String departName;
    /**
     * 逻辑删除 1（true）已删除， 0（false）未删除
     */
    private Integer isDeleted;
}
